import './List.css';

import React from 'react';

export default function List(props) {
  return (
    <ul className="todo-main">
      {/* 传递的是子节点,所以使用props.children */}
      {props.children}
    </ul>
  );
}
